package com.keepstudy;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author Shengkang.Mo
 * @create 2021-02-09 10:07
 */
@Data
@ConfigurationProperties(prefix = "spring.demo")
public class DemoProperties {
    private String name;
    private int age;
    private String sex = "M";
}
